# coding: utf-8
import os
import urllib

DOMAIN = 'http://apis.7moor.com/{}'

# 账号信息
ACCOUNT_ID = 'N00000013811'
ACCOUNT_API_SECRET = 'f3528340-5a3f-11e7-868a-693542839dc2'

# 服务号信息
OUTBOUND_SERVICE_NO = '01000000565'  # 外呼的服务号
BRIDGE_SERVICE_NO = '01000009113'  # 桥接客户电话的服务号
SEVEN_MOOR_SERVICE_NO_LIST = (OUTBOUND_SERVICE_NO, BRIDGE_SERVICE_NO)

# 座席编号李彪
AGENT_LIST = ['8000', '8001', '8002', '8003', '8004']
# AGENT_LIST = ['8000', '8001']

# webcall异步回调url
host = os.environ.get('http_opc_host') or 'http://opc.88ba.com'
uri = 'seven_moor/webcall_callback'
WEBCALL_CALLBACK_URL = urllib.parse.urljoin(host, uri)
